<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>ScarecrowApiDoc</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="../../css/font.css">
    <link rel="stylesheet" href="../../css/xadmin.css">
    <link rel="stylesheet" href="../../css/auth/auth.css">

    <script src="../../lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../js/xadmin.js"></script>

    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../js/config.js"></script>
    <script type="text/javascript" src="../../lib/scarecrow/createSignSdk.js"></script>
    <script type="text/javascript" src="../../lib/scarecrow/scarecrowRequest_scarecrow.min.js"></script>
    <script type="text/javascript" src="../../js/httpRequest.js"></script>
    <script type="text/javascript" src="../../lib/scarecrow/scarecrowCache_scarecrow.min.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="../../js/html5.min.js"></script>
    <script src="../../js/respond.min.js"></script>
    <![endif]-->

</head>
<body>

<div class="layui-form showContentForm">
    <div class="layui-row layui-col-space10">
        <div class="layui-col-md2">
            <select style="width: 100%;" id="selectAllUserList" lay-filter="selectAllUserList">
                <option value="0">请选择用户</option>
            </select>
        </div>

        <div class="layui-col-md2">
            <select style="width: 100%;" id="selectAllProjectList" lay-filter="selectAllProjectList">
                <option value="0">请选择项目</option>
            </select>
        </div>

        <div class="layui-col-md1" style="line-height: 30px;">
            <input type="checkbox" lay-filter="isAllProject" id="isAllProject" title="是否所有项目权限" lay-skin="primary">
        </div>
    </div>

    <hr class="showHr">

    <div class="layui-row layui-col-space10 hiddenForm" id="showAllProjectAuthForm">
        <div class="layui-col-md1" style="line-height: 30px;">
            <input type="checkbox" lay-filter="isAllReadProject" id="isAllReadProject" title="是否所有项目可读权限" lay-skin="primary">
        </div>

        <div class="layui-col-md1 layui-col-md-offset1" style="line-height: 30px;">
            <input type="checkbox" lay-filter="isAllWriteProject" id="isAllWriteProject" title="是否所有项目可编辑权限" lay-skin="primary">
        </div>
    </div>

    <div id="nowProjectAuthAuthForm">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md1" style="line-height: 30px;">
                <input type="checkbox" lay-filter="isReadProject" id="isReadProject" title="是否项目可读权限" lay-skin="primary">
            </div>

            <div class="layui-col-md1" style="line-height: 30px;">
                <input type="checkbox" lay-filter="isWriteProject" id="isWriteProject" title="是否项目可编辑权限" lay-skin="primary">
            </div>
        </div>

        <div class="layui-row">
            <table class="layui-table" id="showAllApiTable">
                <colgroup>
                    <col width="50px">
                    <col width="30%">
                    <col width="30%">
                    <col>
                </colgroup>
                <thead>
                <tr>
                    <th style="text-align: center;"><input type="checkbox" lay-filter="apiSelectId" id="allApiList" value="-1" lay-skin="primary"></th>
                    <th style="text-align: center;">接口名称</th>
                    <th style="text-align: center;">接口地址</th>
                    <th style="text-align: center;">接口分类</th>
                </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
    </div>


    <div class="layui-row layui-col-space10">
        <div class="layui-col-md2 layui-col-md-offset5">
            <button class="layui-btn" style="width: 100%;" id="submitAuthBtn">提交</button>
        </div>
    </div>
</div>

<script src="../../js/auth/auth.js"></script>
</body>
</html>